package com.gold.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.gold.entity.Game;
import com.gold.myexception.Myexception;

public interface GameService {

	public List<Game> selectAllGame();

	public List<Game> selectAllGameByPage(Map<String, String> map);
	
	public List<Game> selectGameByLike(Map<String, String> map);
	
	public List<Game> selectGameByPortal();
	
	public List<Game> selectGameByGameType(int gameType);
	
	public List<Game> selectGameByGameTypeAndName(Map<String, String> map);

	public Game selectGameByGameId(int gameId);

	public void insertGame(Game game) throws Myexception;

	public void updateGame(Game game, CommonsMultipartFile coverFile, CommonsMultipartFile... screenFile) throws Myexception;

	public void deleteGame(String[] gameIdStringArr);
}
